import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wwy
 * Date: 2024-11-10
 * Time: 20:44
 */
public class Test11 {
    public static void main(String[] args) {
        int[] arr={1,1,3,3,5,4};
        for (int i = 0; i < arr.length; i++) {
            System.out.print(arr[i]+" ");
        }
        System.out.println();
        for (int x:
             arr) {
            System.out.print(x+" ");
        }
        Arrays.fill(arr,1);
        System.out.println();
        System.out.println(Arrays.toString(arr));
        System.out.println(arr.length);
    }
}
